/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mycompany.psc.controllers;

import com.mycompany.psc.helpers.DBUtils;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.inject.Named;

/**
 *
 * @author A7med
 */
@Named(value = "dBController")
@RequestScoped
public class DBController {
    @Inject
    DBUtils dbUtils;
    public void backUp(){
        dbUtils.backupDB("D:/psc/backups/psc.sql");
    }
}
